|LF_STANDARD|
|LF_BACKUPS|
|?TREE=&raquo; <a class=tree href="/CMD_USER_BACKUP">`LANG_MANAGE_USER_BACKUPS`</a>|
|?HELP_SECTION=`RESELLER_HELPER`|

|HTM_RESELLER_TOP|

<style>
.step { white-space: nowrap; border: 1px solid light gray;}
</style>



<script language="Javascript">
<!--
function submitBackup()
{
	document.tableform1.backup_submit.disabled = true;
	document.tableform1.submit();

}
//-->
</script>

<!-- inicio bloque -->
<div class="bcp-bloque">
	<div class="bcpb-padding">

		<!-- inicio contenido bloque -->

		<!-- titulo -->
		<div class="bcpbp-titulo">
			<h2>|LANG_CREATE_BACKUP|</h2>
		</div>
		<!-- fin titulo -->

		<!-- table -->
		<div class="box-da-table">
			<table class=list cellspacing=0 cellpadding=0>
				<form name=tableform1 action="/CMD_USER_BACKUP" method="POST">
					<input type=hidden name=action value="create">
					<tr>
						<td class=step valign=top>
							<div>|LANG_STEP_1|: <b>|LANG_WHO|</b></div>

							<table cellpadding=0 cellspacing=0>
								<tr>
									<td class=listtitle align=center>
										<input type=radio name=who value="all">
									</td>
									<td class=listtitle>
										- |LANG_ALL_USERS|
									</td>
								</tr>
								<tr>
									<td class=listtitle align=center>
										<input type=radio name=who value="except" |WHO_EXCEPT_CHECKED|>
									</td>
									<td class=listtitle>
										- |LANG_ALL_USERS| |LANG_EXCEPT_USERS|
									</td>
								</tr>
								<tr>
									<td class=listtitle align=center>
										<input type=radio name=who value="selected" checked>
									</td>
									<td class=listtitle>
										- |LANG_SELECTED_USERS|
									</td>
								</tr>
								<tr><td></td>
									<td>
										<div style="overflow: auto; height: 160px; width: 200px;">
											|USERS|
										</div>
									</td>
								</tr>
								<tr><td class=listtitle><input type=checkbox name="skip_suspended" value="yes"></td>
									<td class=listtitle>
										- |LANG_SKIP_SUSPENDED|
									</td>
								</tr>
							</table>
						</td>
						<td class=step valign=top>
							<div>|LANG_STEP_2|: <b>|LANG_WHEN|</b></div>
							<table cellpadding=0 cellspacing=1>
								<tr>
									<td class=listtitle>
										<input type=radio name=when value="now" checked>
									</td>
									<td class=listtitle>
										- |LANG_NOW|
									</td>
								</tr>
								<tr>
									<td class=listtitle>
										<input type=radio name=when value="cron">
									</td>
									<td class=listtitle>
										- |LANG_CRON_SCHED|
									</td>
								</tr>
								<tr>
									<td></td>
									<td>
										<table class=list cellpadding=0 cellspacing=1>
											<tr><td class=list align=right>|LANG_MINUTE|: </td><td class=list><input type=text size=2 name=minute value="0"></td><td class=list>0-59</td></tr>
											<tr><td class=list align=right>|LANG_HOUR|: </td><td class=list><input type=text size=2 name=hour value="5"></td><td class=list>0-23</td></tr>
											<tr><td class=list align=right>|LANG_DAY_OF_MONTH|: </td><td class=list><input type=text size=2 name=dayofmonth value=*></td><td class=list>1-31</td></tr>
											<tr><td class=list align=right>|LANG_MONTH|: </td><td class=list><input type=text size=2 name=month value=*></td><td class=list>1-12</td></tr>
											<tr><td class=list align=right>|LANG_DAY_OF_WEEK|: </td><td class=list><input type=text size=2 name=dayofweek value=*></td><td class=list>0-7</td></tr>
										</table>
									</td>
								</tr>
							</table>
						</td>
						<td class=step valign=top>
							<div>|LANG_STEP_3|: <b>|LANG_WHERE|</b></div>
							<table cellpadding=0 cellspacing=0>
								<tr>
									<td class=listtitle><input type=radio name=where value="local" |LOCAL_CHECKED|></td>
									<td class=listtitle> - |LANG_LOCAL|: ~|USERNAME|/|USER_BACKUPS_DIR|/</td>
								</tr>
								<tr>
									<td class=listtitle>
										<input type=radio name=where value="ftp" |FTP_CHECKED|>
									</td>
									<td class=listtitle>
										- |LANG_FTP|
									</tr>
								</tr>
								<tr><td></td>
									<td>
										<table cellpadding=0 cellspacing=0>
											<tr><td class=list align=right>|LANG_IP|:</td><td class=list><input type=text name=ftp_ip value="|ftp_ip|"></td></tr>
											<tr><td class=list align=right>|LANG_USERNAME|:</td><td class=list><input type=text name=ftp_username value="|ftp_username|"></td></tr>
											<tr><td class=list align=right>|LANG_PASSWORD|:</td><td class=list><input type=password name=ftp_password value="|ftp_password|"></td></tr>
											<tr><td class=list align=right>|LANG_REMOTE_PATH|:</td><td class=list><input type=text name=ftp_path value="|ftp_path|"></td></tr>
											<tr><td class=list align=right>|LANG_REMOTE_PORT|:</td><td class=list><input type=text name=ftp_port value="|ftp_port|"></td></tr>
										</table>
									</td>
								</tr>
							</table>


						</td>
					</tr>
					<tr>
						<td colspan=3 align=right>|LANG_STEP_4|: <input type=button name=backup_submit value="|LANG_SUBMIT|" onClick="submitBackup();"></td>
					</tr>
				</form>
			</table>
		</div> <!-- fin table -->

		<!-- fin contenido bloque -->

	</div> <!-- fin padding -->
</div> <!-- fin bloque -->

<!-- inicio bloque -->
<div class="bcp-bloque">
	<div class="bcpb-padding">

		<!-- inicio contenido bloque -->

		<!-- titulo -->
		<div class="bcpbp-titulo">
			<h2>|LANG_RESTORE_BACKUP|</h2>
		</div>
		<!-- fin titulo -->

		<!-- table -->
		<div class="box-da-table">
		<script language="Javascript">
		<!--
		function submitRestore()
		{
			document.tableform2.restore_submit.disabled = true;
			document.tableform2.submit();
		}
		//-->
		</script>

		<table class=list cellspacing=0 cellpadding=0>
			<form action="/CMD_USER_BACKUP" method="POST">
				<input type=hidden name=action value="update_files">
				<tr>
					<td class=step valign=top>
						<div>|LANG_STEP_1|: <b>|LANG_FROM_WHERE|</b></div>
						<table cellpadding=0 cellspacing=0>
							<tr>
								<td class=listtitle><input type=radio name=where value="local" |LOCAL_CHECKED|></td>
								<td class=listtitle> - |LANG_LOCAL|: ~/|USERNAME|/|USER_BACKUPS_DIR|/</td>
							</tr>
							<tr>
								<td class=listtitle>
									<input type=radio name=where value="ftp" |FTP_CHECKED|>
								</td>
								<td class=listtitle>
									- |LANG_FTP|
								</tr>
							</tr>
							<tr><td></td>
								<td>
									<table cellpadding=0 cellspacing=0>
										<tr><td class=list align=right>|LANG_IP|:</td><td class=list><input type=text name=ftp_ip value="|ftp_ip|"></td></tr>
										<tr><td class=list align=right>|LANG_USERNAME|:</td><td class=list><input type=text name=ftp_username value="|ftp_username|"></td></tr>
										<tr><td class=list align=right>|LANG_PASSWORD|:</td><td class=list><input type=password name=ftp_password value="|ftp_password|"></td></tr>
										<tr><td class=list align=right>|LANG_REMOTE_PATH|:</td><td class=list><input type=text name=ftp_path value="|ftp_path|"></td></tr>
										<tr><td class=list align=right>|LANG_REMOTE_PORT|:</td><td class=list><input type=text name=ftp_port value="|ftp_port|"></td></tr>
										<tr><td class=list align=right> </td><td class=list><input type=submit value="|LANG_UPDATE_FILES|"></td></tr>
									</table>
								</td>
							</tr>
						</table>


					</td>
				</form>
				<form name=tableform2 action="/CMD_USER_BACKUP" method="POST">
					<input type=hidden name=action value="restore">
					<input type=hidden name=where value="|where|">
					<input type=hidden name=ftp_ip value="|ftp_ip|">
					<input type=hidden name=ftp_username value="|ftp_username|">
					<input type=hidden name=ftp_password value="|ftp_password|">
					<input type=hidden name=ftp_path value="|ftp_path|">
					<input type=hidden name=ftp_port value="|ftp_port|">
					<td class=step valign=top>
						<div>|LANG_STEP_2|: <b>|LANG_SELECT_IP|</b></div>
						<table cellpadding=0 cellspacing=0>
							<script language="Javascript">
								<!--
								function doIP(which)
								{
									if (which == "file")
									document.tableform2.ip.disabled = true;
									else
									document.tableform2.ip.disabled = false;
								}
								//-->
							</script>
							<tr>
								<td class=listtitle><input type=radio name=ip_choice value="file" checked onClick='doIP("file");')></td>
								<td class=listtitle> - |LANG_USE_STORED_IP|</td>
							</tr>
							<tr>
								<td class=listtitle><input type=radio name=ip_choice value="select" onClick='doIP("ip_choice");'></td>
								<td class=listtitle> - |LANG_USE_IP_FROM_LIST|:</td>
							</tr>
							<tr>
								<td></td>
								<td class=list>|IPLIST|</td>
							</tr>
						</table>
						<br>
						|LANG_NOTE|

					</td>
					<td class=step valign=top>
						<div>|LANG_STEP_3|: <b>|LANG_SELECT_FILES|</b></div>

						<div>|LANG_LOCATION|: <b>|FILES_LOCATION|</b></div><br>

						<div style="overflow: auto; height: 160px;">
							|FILES|
						</div>
					</td>

				</tr>
				<tr>
					<td colspan=3 align=right>|LANG_STEP_4|: <input type=button name=restore_submit value="|LANG_SUBMIT|" onClick="submitRestore();"></td>
				</tr>
			</form>
		</table>
		</div> <!-- fin table -->


		<!-- fin contenido bloque -->

	</div> <!-- fin padding -->
</div> <!-- fin bloque -->

<!-- inicio bloque -->
<div class="bcp-bloque">
	<div class="bcpb-padding">

		<!-- inicio contenido bloque -->

		<!-- titulo -->
		<div class="bcpbp-titulo">
			<h2>|LANG_CURRENT_BACKUP_CRONS|</h2>
		</div>
		<!-- fin titulo -->

		<!-- table -->
		<div class="box-da-table">
			|CRONS|
		</div> <!-- fin table -->

		<!-- fin contenido bloque -->

	</div> <!-- fin padding -->
</div> <!-- fin bloque -->


<!-- inicio bloque -->
<div class="bcp-bloque">
	<div class="bcpb-padding">

		<!-- inicio contenido bloque -->

		<!-- titulo -->
		<div class="bcpbp-titulo">
			<h2>|LANG_BACKUP_SETTINGS|</h2>
		</div>
		<!-- fin titulo -->

		<div class="bcpbp-form">
			<label for="|LANG_SEND_MESSAGE|">|LANG_SEND_MESSAGE|</label>
			<div class="form-datos">
				<input type=checkbox name=message value="yes" |SEND_MESSAGE|>
			</div>			
		</div>

		<div class="bcpbp-form">
			<label for="|LANG_LOCAL_NS|">|LANG_LOCAL_NS|</label>
			<div class="form-datos">
				<input type=checkbox name="local_ns" value="yes" |LOCAL_NS|>
			</div>
		</div>

		<!-- contenedor para boton submit -->
		<div class="bcpbp-form--submit">
			<input type=submit value="Demo">
		</div> <!-- fin contenedor para boton submit -->

		<!-- fin contenido bloque -->

	</div> <!-- fin padding -->
</div> <!-- fin bloque -->

|HTM_RESELLER_BOTTOM|
